package com.woniuxy.credit_loans.mapper;

import com.woniuxy.credit_loans.accounting_shi.vo.WeiDaVo;
import com.woniuxy.credit_loans.entity.ContractInfo;

import java.util.List;
import java.util.WeakHashMap;

/**
* @author donghang
* @description 针对表【contract_info(contract_info)】的数据库操作Mapper
* @createDate 2022-12-06 12:05:35
* @Entity com.woniuxy.credit_loans.entity.ContractInfo
*/
public interface ContractInfoMapper {
    List<WeiDaVo> selectByName(String type,String name);
    WeiDaVo selectById(Long id);
    WeiDaVo selectByHeId(Long id);
    List<WeiDaVo> selectAllById(String type);
    int deleteByPrimaryKey(Long id);

    int insert(ContractInfo record);

    int insertSelective(ContractInfo record);

    ContractInfo selectByPrimaryKey(Long id);
    ContractInfo selectByDiNumber(String diNumber);

    int updateByPrimaryKeySelective(ContractInfo record);

    int updateByPrimaryKey(ContractInfo record);

}
